<%--
  Created by IntelliJ IDEA.
  User: 林义聪
  Date: 2017/7/19
  Time: 23:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<!-- 设置使用EL表达式 -->
<html>
<head>
    <title>Test</title>
</head>
<body>
Hello SpringMVC！
id:${id}&nbsp;name:${name}
user:${user.id}&nbsp;${user.name}
<form method="post" action="${pageContext.request.contextPath}/demo/upload" enctype="multipart/form-data">
    <input type="file" name="file">
    <input type="submit" value="上传">
</form>
<a href="${pageContext.request.contextPath}/demo/download">文件下载</a>
</body>
</html>
